﻿using MiniFox.Log;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Web.Infrastructure
{
    /// <summary>
    /// 
    /// </summary>
    public class LogWebContent : LogContent
    {
        /// <summary>
        /// 
        /// </summary>
        public LogWebContent() : base()
        {

        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="logId"></param>
        public LogWebContent(string logId) : base(logId)
        {

        }
        /// <summary>
        /// 
        /// </summary>
        public string Host { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ClientIP { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string HttpMethod { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int StatusCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RawUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string User { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RequestHeaders { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ResponseHeaders { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RequestCookies { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ResponseCookies { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RequestMessage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ResponseMessage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long Elapsed { get; set; }
    }

}
